﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Event_Planner.Filters
{
   public class CacheFactory
    {
        public static void InvalidateCache()
        {
            HttpContext.Current.Cache.Insert("Pages", DateTime.Now, null, System.DateTime.MaxValue, System.TimeSpan.Zero,System.Web.Caching.CacheItemPriority.NotRemovable, null);
        }

    }

}